//
//  BuyWindowView.h
//  StandardizedProduct
//
//  Created by 宁宁 on 16/6/29.
//  Copyright © 2016年 ym. All rights reserved.
//

#import <UIKit/UIKit.h>
#import "GoodsDetailModel.h"


@interface BuyWindowView : UIView
/**0 跳转到立即购买页面, 1 弹出警示框*/
@property (strong, nonatomic) void (^clickBuyRightNow)(NSString *click, NSString *standardString);

/**隐藏购买窗*/
@property (nonatomic, strong) UIButton *hiddenWindow;
@property (nonatomic, strong) UIView *view;

/**商品图片*/
@property (nonatomic, strong) UIImageView *goodsImage;
/**商品名*/
@property (nonatomic, strong) UILabel *goodsName;
/**商品简介*/
@property (nonatomic, strong) UILabel *goodsDetail;
/**价格*/
@property (nonatomic, strong) UILabel *price;

/**规格*/
@property (nonatomic, strong) NSArray *standard;

/**数量+*/
@property (nonatomic, strong) UIButton *plusNum;
/**数量-*/
@property (nonatomic, strong) UIButton *minusNum;
/**数量*/
@property (nonatomic, strong) UITextField *num;

/**立即购买*/
@property (nonatomic, strong) UIButton *buyRightNow;
@property (nonatomic, strong) UILabel *buyLabel;

/**已选规格数组*/
@property (nonatomic, strong) NSMutableArray *chooseStandardArray;

@property (nonatomic, assign) CGFloat height;

/**model*/
@property (nonatomic, strong) GoodsDetailModel *model;

- (void)settView;

@end
